﻿using B.S.Orders.Domain;
using B.S.Orders.ErrorCord;
using MediatR;

namespace B.S.Orders.Read.Api.Application.Commands.DispatchProductCommand
{
    public class GetDispatchCommand : IRequest<APIResult<APIPaging<DispatchProduct>>>
    {
        /// <summary>
        /// 关联项目
        /// </summary>
        public string? AssociatedProjects { get; set; }
        /// <summary>
        /// 单据主题
        /// </summary>
        public string? DocumentSubject { get; set; }
        /// <summary>
        /// 单据编号
        /// </summary>
        public string? DocumentNumber { get; set; }
        /// <summary>
        /// 来源单据类型
        /// </summary>
        public string? SourceDocumentType { get; set; }
        /// <summary>
        /// 来源单据
        /// </summary>
        public string? SourceDocument { get; set; }
        /// <summary>
        /// 制单人员
        /// </summary>
        public string? DocumentMakers { get; set; }
        /// <summary>
        /// 开始制单日期
        /// </summary>
        public DateTime? FriDocumentDate { get; set; }
        /// <summary>
        /// 结束制单日期
        /// </summary>
        public DateTime? EndDocumentDate { get; set; }
        public int PageIndex { get; set; }
        public int PageSize { get; set; }
    }
}
